package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 项昊天
 * @create 2021/8/23 20:51
 */
@ApiModel(value="com-bosssoft-entity-po-FibPaymentInfo")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_payment_info")
public class FibPaymentInfoPO implements Serializable {
    /**
     * 支付信息id
     */
    @TableId(value = "fpi_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="支付信息id")
    private Long fpiId;

    /**
     * 支付凭证
     */
    @TableField(value = "voucher_id")
    @ApiModelProperty(value="支付凭证")
    private Integer voucherId;

    /**
     * 支付金额
     */
    @TableField(value = "fpi_pay_amount")
    @ApiModelProperty(value="支付金额")
    private BigDecimal fpiPayAmount;

    /**
     * 付款账户
     */
    @TableField(value = "fpi_from_acc")
    @ApiModelProperty(value="付款账户")
    private String fpiFromAcc;

    /**
     * 付款银行编号
     */
    @TableField(value = "fpi_from_bank_no")
    @ApiModelProperty(value="付款银行编号")
    private Long fpiFromBankNo;

    /**
     * 收款账户
     */
    @TableField(value = "fpi_to_acc")
    @ApiModelProperty(value="收款账户")
    private String fpiToAcc;

    /**
     * 收款人
     */
    @TableField(value = "fpi_to_name")
    @ApiModelProperty(value="收款人")
    private String fpiToName;

    /**
     * 收款银行编号
     */
    @TableField(value = "fpi_to_bank_no")
    @ApiModelProperty(value="收款银行编号")
    private Long fpiToBankNo;

    /**
     * 预算申请
     */
    @TableField(value = "fpi_budget_id")
    @ApiModelProperty(value="预算申请")
    private Long fpiBudgetId;

    /**
     * 備注
     */
    @TableField(value = "fpi_remark")
    @ApiModelProperty(value="備注")
    private String fpiRemark;

    /**
     * 支付时间
     */
    @TableField(value = "fpi_pay_time", fill = FieldFill.INSERT)
    @ApiModelProperty(value="支付时间")
    private Date fpiPayTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 版本号
     */
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    @Version
    private Integer version;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    private static final long serialVersionUID = 1L;
}